package com.changgou.order.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author ljh
 * @version 1.0
 * @date 2021/1/17 17:29
 * @description 标题
 * @package com.changgou.order.config
 */
@Component
@ConfigurationProperties(prefix = "mq")
public class MqProperties {

    //支付相关
    private Map<String,Object> pay;

    //购物车相关
    private Map<String,Object> cart;

    public Map<String, Object> getPay() {
        return pay;
    }

    public void setPay(Map<String, Object> pay) {
        this.pay = pay;
    }

    public Map<String, Object> getCart() {
        return cart;
    }

    public void setCart(Map<String, Object> cart) {
        this.cart = cart;
    }
}
